package com.chenye.jpa;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @Auther:chenye
 * @Data:2018/4/19
 * @Description:
 */
@SpringBootApplication
@MapperScan("com.chenye.jpa.dao")
@EnableTransactionManagement
public class JpaApplication {
    public static void main(String[] args){
        SpringApplication.run(JpaApplication.class,args);
    }
}
